home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / b / b.lha / B / src / bint / b2par.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-11-24  |  856 b   |  51 lines

  1. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  2.  
  3. /*
  4.   $Header: b2par.h,v 1.4 85/08/22 16:42:58 timo Exp $
  5. */
  6.  
  7. /* General definitions for the parser */
  8.  
  9. /* contexts: */
  10. #define In_share 's'
  11. #define In_ranger 'q'
  12. #define In_ref 'r'
  13.  
  14. /* Expressions: */
  15.  
  16. parsetree expr();
  17. parsetree singexpr();
  18. bool tag_operator();
  19. bool is_b_tag();
  20. /* Procedure selection(); */
  21.  
  22. /* Targets: */
  23.  
  24. parsetree targ(); 
  25. /* Procedure tar_trimmed_text(); */
  26.  
  27. /* Tests: */
  28.  
  29. parsetree test(); 
  30. parsetree unp_test();
  31. extern bool dya_proposition;
  32.  
  33. /* Commands: */
  34.  
  35. parsetree cmd_suite();
  36. /* Procedure suite_command(); */
  37. bool simple_command();
  38. bool control_command();
  39. bool term_com();
  40. bool is_comment();
  41. value tail_line();
  42.  
  43. /* B units */
  44.  
  45. parsetree unit();
  46. bool unit_keyword();
  47. parsetree collateral();
  48. parsetree compound();
  49. parsetree idf();
  50. extern literal idf_cntxt;
  51.